package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

/**
 * @Author liub
 * @Date 2019/12/5 9:44
 * @Version 1.0
 */

public class BatchBadpheno extends BasePojo {
    /**
     * 批次流程不良现象ID
     */
    private Integer batchBadphenoId;
    /**
     * 批次流程ID
     */
    private Integer batchFlowId;
    /**
     * 不良现象ID
     */
    private Integer badphenoId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    /**
     * 说明
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;

    /*                               新增字段                                    */

    /**
     * 不良现象名称
     */
    private String badphenoName;
    /**
     * 不良现象类型名称
     */
    private String badphenoTypeName;
    /**
     * 不良现象类型ID
     */
    private Integer badphenoTypeId;

    public Integer getBatchBadphenoId() {
        return batchBadphenoId;
    }

    public void setBatchBadphenoId(Integer batchBadphenoId) {
        this.batchBadphenoId = batchBadphenoId;
    }

    public Integer getBatchFlowId() {
        return batchFlowId;
    }

    public void setBatchFlowId(Integer batchFlowId) {
        this.batchFlowId = batchFlowId;
    }

    public Integer getBadphenoId() {
        return badphenoId;
    }

    public void setBadphenoId(Integer badphenoId) {
        this.badphenoId = badphenoId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public String getBadphenoName() {
        return badphenoName;
    }

    public void setBadphenoName(String badphenoName) {
        this.badphenoName = badphenoName;
    }

    public String getBadphenoTypeName() {
        return badphenoTypeName;
    }

    public void setBadphenoTypeName(String badphenoTypeName) {
        this.badphenoTypeName = badphenoTypeName;
    }

    public Integer getBadphenoTypeId() {
        return badphenoTypeId;
    }

    public void setBadphenoTypeId(Integer badphenoTypeId) {
        this.badphenoTypeId = badphenoTypeId;
    }
}